﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="ProviderUserType.aspx.cs" Inherits="admin_user_Access_ProviderUserType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>Assign Provider User Type</h1><asp:Label ID="lblUserId" Visible="false" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 30%"; valign="top">
                    Provider
                </td>
                <td>
                    <asp:DropDownList ID="ddlProviderCompany" runat="server" AutoPostBack="true" onselectedindexchanged="ddlProviderCompany_SelectedIndexChanged">
                        <asp:ListItem Selected="True" Value="0">Select</asp:ListItem>
                        <asp:ListItem Value="23">HSBC Insurance</asp:ListItem>
                        <asp:ListItem Value="24">RSA Insurance</asp:ListItem>
                        <asp:ListItem Value="29">Liberty Insurance</asp:ListItem>
                        <asp:ListItem Value="30">Etiqa Insurance</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;<asp:RequiredFieldValidator ID="rfvProviderCompany" runat="server" ControlToValidate="ddlProviderCompany"
                        ErrorMessage="Choose Provider" InitialValue="0" ValidationGroup="message">Choose</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    User
                </td>
                <td>
                    <asp:DropDownList ID="ddlProviderUser" runat="server" AutoPostBack="true" onselectedindexchanged="ddlProviderUser_SelectedIndexChanged">
                        <asp:ListItem Value="0">None</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;<asp:RequiredFieldValidator ID="rfvProviderUser" runat="server" ControlToValidate="ddlProviderUser"
                        ErrorMessage="Choose User" InitialValue="0" ValidationGroup="message">Choose</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    User Type
                </td>
                <td>
                    <asp:DropDownList ID="ddlUserType" runat="server">
                        <asp:ListItem Selected="True" Value="-1">Select</asp:ListItem>
                        <asp:ListItem Value="100">Admin</asp:ListItem>
                        <asp:ListItem Value="200">User</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;<asp:RequiredFieldValidator ID="rfvUserType" runat="server" ControlToValidate="ddlUserType"
                        ErrorMessage="Choose User Type" InitialValue="-1" ValidationGroup="message">Choose</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Status
                </td>
                <td>
                    <asp:CheckBox ID="chkStatus" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="View" CssClass="btn blue" />
                </td>
                <td>
                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit"
                        ValidationGroup="message" CssClass="btn blue" />
                    <asp:Button ID="btnClearForm" runat="server" CausesValidation="False" OnClick="btnClearForm_Click"
                        OnClientClick="return confirm('Are you sure to clear form?');" Text="Clear" CssClass="btn blue" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

